package cate.game.server.configuration.dao.game;

import cate.game.db.mongo.rank.RankDao;
import cate.game.db.mongo.rank.RankMongo;
import cate.game.server.configuration.dao.MgStrKeyDao;

public class MgRankDao extends MgStrKeyDao<RankMongo> implements RankDao {

    @Override
    protected <S extends RankMongo> Object transId(S entity) {
        return entity.key;
    }
}
